import { IFeidaoAiWeappPage } from '@feidao/web/interfaces';
import payment from '@feidao/web/atom/wx/app/api/interface/request-payment';
import { send_msg as url, spaceid, systemid, get_client_info as client_url } from '../atom-wx-app/config';

export default async function a002(fd: IFeidaoAiWeappPage, ...args: any[]) {
	// {"session_key":"K91fQoaTz9Qb0H4cTsSVQQ==","openid":"ocZ-94hEHDgjJLjuqOSb04QUND5c"}
	// 支付
	const res = await payment(client_url, url, spaceid, systemid, '20181213001', '0.01', '商品描述', 'ocZ-94hEHDgjJLjuqOSb04QUND5c', '20181213111300', '20181213113400', 'admin', { spaceid });

	console.log('----------------------', res);
}
